import threading

def th():
    a = 0
    for i in range(0,5_000_001):
        a +=i
    print(a)

if __name__ == "__main__":
    for i in range(0,10):
        threading.Thread(target=th).start()